#define _CRT_SECURE_NO_WARNINGS
#include"list.h"

void test1()
{
	SLT* plist = NULL;
	int i = 0;
	for (i = 0;i < 40;i++)
	{
		SLTpushfront(&plist, i);
	}
	SLTpopfront(&plist);
	SLTpopfront(&plist);
	SLTprint(plist);
}

void test2()
{
	SLT* plist = NULL;
	int i = 0;
	for (i = 0;i < 51;i++)
	{
		SLTpushback(&plist, i);
	}
	SLTpopback(&plist);
	SLTpopback(&plist);
	SLTpopback(&plist);
	SLTprint(plist);
}
int main()
{
	test1();
	test2();
	return 0;
}